package com.onlyxiahui.common.message;

import com.onlyxiahui.common.message.node.Head;

/**
 * 
 * Date 2019-01-06 10:16:14<br>
 * Description
 * 
 * @author XiaHui<br>
 * @param <H>
 * @param <B>
 * @since 1.0.0
 */
public interface Message<H extends Head, B> {

	/**
	 * 
	 * Date 2019-01-06 10:41:27<br>
	 * Description 设置消息头部信息
	 * 
	 * @param head
	 * @since 1.0.0
	 */
	public void setHead(H head);

	/**
	 * 
	 * Date 2019-01-06 10:41:47<br>
	 * Description 获取消息头部信息
	 * 
	 * @return H
	 * @since 1.0.0
	 */
	public H getHead();
}
